export interface rabbitServerParams {
  virtualHost: string;
  IsEnable: boolean;
  PublishPrefix: string | number;
  Port: string | number;
  UserName: string;
  Password: string | number;
  RequestedConnectionTimeout: string | number;
  Heartbeat: string | number;
  TopologyRecoveryEnabled: boolean;
  NetworkRecoveryInterval: string | number;
  AutomaticRecoveryEnabled: boolean;
  UseBackgroundThreadsForIO: boolean;
  ChannelMax: string | number;
  RequestedFrameMax: string | number;
  Name: string | number;
  ContinuationTimeout: string | number;
  Description: string | number;
  HostIP: string | number;
  BeforeName?: string;
}
export interface serverFormDataModel {
  title?: string;
  virtualHost?: string | number;
  isPassageway?: string;
  prefix?: string | number;
  port?: string | number;
  username?: string | number;
  passport?: string | number;
  timeout?: string | number;
  heartbeat?: string | number;
  isTopology?: string;
  recoveryInterval?: string | number;
  isAutomaticRecovery?: string;
  isUseIO?: string;
  passagewayNum?: string | number;
  maxRequestNum?: string | number;
  name?: string | number;
  description?: string | number | undefined;
  hostIp?: string | number;
  reconnectionTime?: string | number;
  OnlyName: string | number;
}

export interface serverFormModel {
  type: string;
  data: serverFormDataModel;
}
export interface tableParamsModel {
  Roles: string | number;
  SendMethod: string | number;
  TagName: string | number;
  Durable: boolean;
  Exclusive: boolean;
  IsAutoDelete: boolean;
  Name: string;
  Description: string;
  BeforeName?: string;
  CustomQueueName: string | number;
}
export interface tableFormModel {
  mode: string | number;
  method: string | number;
  variable: string | number;
  isPersistence: string | number;
  isOnly: string | number;
  isAutoDel: string | number;
  name: string;
  description: string;
  serverName: string;
  CustomQueueName: string | number;
  OnlyName: string;
}

export interface mqttTreeFormModal {
  Name: string | number;
  IsEnable: Boolean;
  HostIP: string | number;
  Port: string | number;
  UserName: string | number;
  Password: string | number;
  Description: string;
  OnlyName?: string | number;
}

export interface mqttTableFormModal {
  Topic?: string | number;
  Roles: string | number;
  Qos: string | number;
  Retain: boolean;
  TagName: string | number;
  Subscribe?: string | number;
  OnlyName?: string | number;
  Name: string;
  Description: string;
  GroupKey: string;
}
